home *** CD-ROM | disk | FTP | other *** search
- Path: news.cyberport.com!usenet
- From: tangent@cyberport.com (Warren Young)
- Newsgroups: comp.lang.c++
- Subject: Re: STL
- Date: Wed, 21 Feb 1996 18:08:59 GMT
- Organization: none
- Message-ID: <312b5ef9.213303073@news.cyberport.com>
- References: <4g2s4j$583@news.iii.net>
- NNTP-Posting-Host: ppp12.cyberport.com
- X-Newsreader: Forte Agent .99d/32.182
-
- lindak@pumpkin.iii.net (Linda Kasparek) wrote:
-
- >I'm going to go out on a limb here and ask the obvious:
- >where's the implementation for STL?
-
- If this isn't a FAQ, it should be. _Everything_ is in the headers,
- because it's the Standard _Template_ Library. There are only two
- common ways to do templates, and the only truly useful one is to drop
- everything in the header files. This is because the compiler needs
- the _implementation_ for a templatized class at compile time in order
- to substitute in the template parameter(s).
-
- A good book on the subject (and one that will answer many more FAQs
- for you) is Mark Nelson's (?) STL book from IDG Books. Sorry, no more
- info than that because the book's at work and I'm not.
-
- = Warren --
-